<?php
require_once('./classes/rbac.php');
if(isset($_SESSION['roles']) && isset($_SESSION['sess_login_username'])){
	if( ($_SESSION['sess_login_username']!='') && ($_SESSION['roles']!='')){
		$_SESSION['sess_login_username']='';
		$rbac=new rbac();
                $close=$rbac->Cerrar_session($_SESSION['roles']);
                $_SESSION['roles']='';
		
	}
}
header("Location: index.php");

?>